package com.lionel.bean;

import java.io.Serializable;

/**
 * @author: liucan
 * @Date: 2019/2/2 15:51
 * @desc: 借还记录
 **/
public class Record extends BaseDomain implements Serializable {
    /**
     * 用户id
     */
    private Long userId;
    /**
     * 图书id
     */
    private Long bookId;
    /**
     * 图书馆id
     */
    private Long libraryId;
    /**
     * 记录状态(0 借出, 1:已归还)
     */
    private Integer state;

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getBookId() {
        return bookId;
    }

    public void setBookId(Long bookId) {
        this.bookId = bookId;
    }

    public Long getLibraryId() {
        return libraryId;
    }

    public void setLibraryId(Long libraryId) {
        this.libraryId = libraryId;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }
}
